//
//  EPOSSysuser.m
//  BCGenieEffect
//
//  Created by Ios Entity Generator on 2014-03-04 16:37:33
//  Copyright (c) 2014年 Bartosz Ciechanowski. All rights reserved.
//

#import "EPOSSysuser.h"

@implementation EPOSSysuser

+(id) getEPOSSysuserFromDictionary :(NSDictionary *) dic {
    EPOSSysuser * sysuser = [[EPOSSysuser alloc]init] ;
    sysuser.Result = [dic objectForKey:@"Result"];
    sysuser.ErrMessage = [dic objectForKey:@"ErrMessage"];
    sysuser.ErrSysTrackMessage = [dic objectForKey:@"ErrSysTrackMessage"];
    sysuser.ErrSysMessage = [dic objectForKey:@"ErrSysMessage"];
    sysuser.Message = [dic objectForKey:@"Message"];
    return sysuser ;
}

+(NSMutableDictionary *) getDictionaryFromEPOSSysuser :(EPOSSysuser* ) sysuser {
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init] ;
    [dic setObject:sysuser.Result forKey:@"Result"];
    [dic setObject:sysuser.ErrMessage forKey:@"ErrMessage"];
    [dic setObject:sysuser.ErrSysTrackMessage forKey:@"ErrSysTrackMessage"];
    [dic setObject:sysuser.ErrSysMessage forKey:@"ErrSysMessage"];
    [dic setObject:sysuser.Message forKey:@"Message"];
    return dic ;
}

@end